using System;
using System.Data;
using System.Configuration;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using Dimok.Data.DataSources;

namespace Data.DataSources {
	public class Note_Type_ActionCodesDataSource : ObjectDataSourceBase {
		public override string SelectViewName { get { return "v_Note_Type_ActionCodes"; } }
		public override string InsertViewName { get { return "ts_Note_Type_ActionCodes"; } }
		public int TypeID { set { SetSelectParameter("TypeID", value); } }
		public Note_Type_ActionCodesDataSource() {
			OrderBy.Add("Type");
			OrderBy.Add("ActionCode");
		}
		public Note_Type_ActionCodesDataSource(int TypeID):this() {
			this.TypeID = TypeID;
		}
		public override DataView SelectEx(int TypeID) {
			return Select("TypeID=@TypeID", TypeID);
		}
	}
}